SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '372a9ca5a5e5a8b744f9ee1757065af6298324695aeb276f4c23be3a24d78a25' 
  AND token = 'uY0pj7B7pw7Ag9XJTz3rwoMuaTpbxMIUmIJ/ef7CGZk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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