SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4e395fd120f53057a66f1ec15e5da6dc7848c87a3bc55bf17438483aa42f7fd5' 
  AND token = 'fd+bXOVtnttSabGFfYRx4Ds3k/ZMTn4MK4y569HU8r8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00060

JSON explain

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