SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '87d1c57d8027887f2bc4fd8d4f866adb6ee9affd5c520f2820111acf350f0abd' 
  AND token = 'SbUdm1Daa+vsXAoiXa2AXNjk9vRTKpEKE5WB5TqMeJI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00056

JSON explain

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