SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a182e56341e863d4589df841e6a32c756429aae1bfca76808d9045669bde6cbd' 
  AND token = '4I0+79pTN7t8VaWxw3EnceccslV2LTDGf+5Vedhofec=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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