SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b4d3ee13e4477cb3e0aa58cec86bd6b00b6e70151c9df43dd46c8419e379b40d' 
  AND token = 'gSxjTpz2RLrzM2TDhFzwzeHz3kcJTMl1n+CjtiFsaUc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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