SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '32d7024ff5d54248cbe4688be38e7341424ae0b31daac1ce6dbd165b67b5fc0f' 
  AND token = 'KL33R9mTR/M45y85LrpocxDpcXYwfOcPivrHDFpAyik=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}