SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '01b583079b844c97f608d2644abcb68d2581d7d14202325c62425b3756b9eaea' 
  AND token = 'ZFW+ExLVXm6+JQt3d+VfZEpUR1zL0Iw6lVSR39ZprxU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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