SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b7980245caba74be203af4fc58a63ff9de0d868e4b6d1e778eafee482cbd2be1' 
  AND token = 'Td0gXhZq/4zg/77Kx7E8sfBQG6xKYnJPd8e9PVys4JY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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