SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '349ba0f47420f744cb36ec59809a04d87132786450b46ff40334b7c72ab0c562' 
  AND token = 'm5unAnf5NVGgFVSi8cpnMjicDyLljt+1UyUTbnODHGs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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