SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '640a9f3673b5d3f589250183970442e0410d4e5c9bea6a1113cf460f1d32f717' 
  AND token = 'kZCuYVkIWr+II1YsHlOvGzXKEajPlOuOc50EJg4tS/4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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