SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2a791efb28ee99637f619d29d16d4ce07aea04e444abd6d8c8f4d6d70017b6f2' 
  AND token = 'nGNCIW3nNk5daCycUsH0jSUfHnQCairYef/7iZOoit8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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