SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a6a424f501c343d2a7f04b7846f00c45f0fa2d5588e50bfbba2e3121a8334168' 
  AND token = 'ALodw7DEnobQlWGPl3D1a6YZQnkZOaqjsKEgOHa6I44=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00083

JSON explain

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