SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0d067df81d34c5ea30df1e87792e0e578cc7c42fa6dec8d11ea522a52bbb2cd5' 
  AND token = '/oJ38JXno7l22ooJpOKg+ciFaSggfLB/nMS692+smCo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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