SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dc7f34587699bb7c7449015de5e63343f9a2c876c33e786ebc8d7a1f4b431cc9' 
  AND token = 'xWoj6Z2TNv/Xf7X3hNUkDf5beYWiwreuVrs0EK+r4xY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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