SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2a87a239af83aa5d12d9a4067646f89c54cad27284f53b4f5a45889ab3a03318' 
  AND token = 'qxChjL8HT2ek8yS4zA2iQzPiQafY+KAjsdAL27/Jofs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}