SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5af270fcbccf51daa000b8849ec7487daaafe13bf581fd5acf6f560d43816470' 
  AND token = 'YlyOODq0LwGBxsr8Di5TEcebPn9HxW/lufCS4dHHg4o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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