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

Query time 0.00039

JSON explain

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