SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5b6302cf0b6929ccd1c245b81ece2040d2944ddf3f808e99e7df51d991aac4be' 
  AND token = 'f3RdKgT6ZjyxyHoI5xo1lP4/S64gxSewp+DZiJ7ZApM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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