SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '61457f88c807d100738f70492411fbe9e627b5c36f34e8c1f9c94c1216e7ae62' 
  AND token = 'iks2giAXo8UazeSRQsvguwAAV513a/rRHp2V7oVFyqo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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