SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c39fbac7788eac7aaebd872ad04b189b4c3e5d139ec7e3a8068e090f1e4df91c' 
  AND token = 'yLLw/SgEzD0WInXYQcBETME1bYvpbkm1mbvU3P7v3/Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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