SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cb2e791e4cd70865921b34280b41462196c685e949cf3f3f4414a3107d4145da' 
  AND token = 'a2E2QmUgeg3w0cojvGyjv6xOkG5ENoDEitUi/8dMXmI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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