SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8d9bfdc888775eaf139864406a7f56ac269098fad2df6e4210d351b3e998a0df' 
  AND token = 'iQxwR24/+2BiTbeM0bkVxEpcifhkhNdfjxE3r6DlblA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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