SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '791c28e71b9c3ec1d2421c308687a9358bd91fe6201738c068dd8a37eeccd346' 
  AND token = 'twHI7sOy2iFQOXeG1ILGdkv7JPTXGxJQyM5g81BbShc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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