SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bf1878a0e50897eafa5a101650206560616cb0046f8229c8862f0e6729e03bb1' 
  AND token = 'eauir/MQFKm1/R38TsQKw8c0dfpw7wRyHpgjoH26xH4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00060

JSON explain

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