SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0f9b479acedb99793300909306b4862aaec82f78ccf817b3a41b5bb39c6da709' 
  AND token = 'oOJim/AXebnt0iMwmwcuy4BWZx8aFecOvkb5dLSgzsA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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