SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '788eafef67da4f019d83ff690fff947a6b61d30fac150219dc72b2ff169387db' 
  AND token = 'RFaXKo40SnHAChYyAZzZ/7JtyRJAJ//Ym7qkw8AGxf0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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