SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b310c376de8ce63372b9d5edc8573c0f9a30a60cbd31b8a8b8499601f9218ae5' 
  AND token = 'gPYb2nsz1+sVAMb64Y7GznnvG9M1VsVkIlZZDE1vvCc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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